package com.lagou.monitor;

import org.apache.dubbo.common.constants.CommonConstants;
import org.apache.dubbo.common.extension.Activate;
import org.apache.dubbo.rpc.*;

/**
 * @Authther: mrwu
 * @date:2021/4/11-04
 * @Description:com.lagou.monitor
 */
@Activate(group = {CommonConstants.CONSUMER})
public class TestFilter implements Filter {
    @Override
    public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException {
        System.out.println("test");
        return invoker.invoke(invocation);
    }
}
